// app.js
// 图标颜色 #0fe2c2
App({
  onLaunch() {
    // 展示本地存储能力

    // 登录
    wx.login({
      success: res => {
        // 发送 res.code 到后台换取 openId, sessionKey, unionId
      }
    })
  },
  globalData: {
    userInfo: null,
    as: "h6tA9op7EChcNMVTrMKOaKHikSjN85",//AccessKey Secret
    productKey: "a1L4GogBzON",
    deviceName: "",
    endpoint: "https://iot.cn-shanghai.aliyuncs.com",
    ai: "LTAI5tRqXiXuKtvLzh5Yfef9", //AccessKeyId
    apiVersion: '2018-01-20'
  }

})
